/**
 * Copyright &copy; 2012-2013 <a href="https://github.com/thinker/icare">Thinker</a> All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package cn.com.thinker.security.sdk.system.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;


/**
 * 用户Entity
 * @author Thinker
 * @version 2013-5-15
 */
@Entity
@Table(name = "sys_user")
public class SystemUser implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;	
	//	private static final long serialVersionUID = 1L;
	
	private String id;
	private String loginName;
	private String password;
	private String name;
	private String delFlag;
	
	@Id
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	
	@Column(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}